package com.twu.biblioteca.model;

import com.twu.biblioteca.model.Movie;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by mvargas on 5/2/14.
 */
public class MovieCollection {

    private List<Movie> movies = new ArrayList<Movie>();

    public MovieCollection(){
        Movie movie1 = new Movie("Spider-Man", 2002, "Sam Raimi", 5);
        Movie movie2 = new Movie("Spider-Man 2", 2004, "Sam Raimi", 7);
        Movie movie3 = new Movie("Spider-Man 3", 2007, "Sam Raimi", 6);
        Movie movie4 = new Movie("The Incredible Hulk", 2008, "Louis Leterrier", 7);
        Movie movie5 = new Movie("Iron Man", 2008, "Jon Favreau", 8);
        Movie movie6 = new Movie("Iron Man 2", 2010, "Jon Favreau", 7);
        Movie movie7 = new Movie("Iron Man 3", 2013, "Shane Black", 6);
        Movie movie8 = new Movie("Batman", 1989, "Tim Burton", 4);
        Movie movie9 = new Movie("Batman Begins", 2005, "Christopher Nolan", 9);
        Movie movie10 = new Movie("Batman Returns", 1992, "Tim Burton", 7);
        Movie movie11 = new Movie("Batman Forever", 1995, "Joel Schumacher", 7);
        Movie movie12 = new Movie("Back to the Future", 1985, "Robert Zemeckis", null);
        Movie movie13 = new Movie("Back to the Future part II", 1989, "Robert Zemeckis", 8);
        Movie movie14 = new Movie("Back to the Future part III", 1990, "Robert Zemeckis", 8);
        Movie movie15 = new Movie("Men In Black", 1997, "Barry Sonnenfeld", 8);

        this.movies.add(movie1);
        this.movies.add(movie2);
        this.movies.add(movie3);
        this.movies.add(movie4);
        this.movies.add(movie5);
        this.movies.add(movie6);
        this.movies.add(movie7);
        this.movies.add(movie8);
        this.movies.add(movie9);
        this.movies.add(movie10);
        this.movies.add(movie11);
        this.movies.add(movie12);
        this.movies.add(movie13);
        this.movies.add(movie14);
        this.movies.add(movie15);
    }

    public List<Movie> getMovies() {
        return this.movies;
    }
}
